joiner
Class ConfigReader
java.lang.Object
joiner.ConfigReader
public class ConfigReader
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LANGUAGE
public static final java.lang.String LANGUAGE
- See Also:
- Constant Field Values
USER
public static final java.lang.String USER
- See Also:
- Constant Field Values
SAVE_PATH
public static final java.lang.String SAVE_PATH
- See Also:
- Constant Field Values
AUTO_NAME
public static final java.lang.String AUTO_NAME
- See Also:
- Constant Field Values
SAME_DIR
public static final java.lang.String SAME_DIR
- See Also:
- Constant Field Values
LAST_DIR
public static final java.lang.String LAST_DIR
- See Also:
- Constant Field Values
JOIN_DIR
public static final java.lang.String JOIN_DIR
- See Also:
- Constant Field Values
LIST_BACKGROUND
public static final java.lang.String LIST_BACKGROUND
- See Also:
- Constant Field Values
LIST_FOREGROUND
public static final java.lang.String LIST_FOREGROUND
- See Also:
- Constant Field Values
LAST_5_JOINS
public static final java.lang.String LAST_5_JOINS
- See Also:
- Constant Field Values
ConfigReader
protected ConfigReader()
create
public static void create(java.lang.String _path)
throws java.io.IOException
- Throws:
java.io.IOException
create
public static void create()
throws java.io.IOException
- Throws:
java.io.IOException
getInstance
public static ConfigReader getInstance()
getLoadedConfig
public java.util.HashMap<java.lang.String,java.lang.String> getLoadedConfig()
getConfigValueByKey
public java.lang.String getConfigValueByKey(java.lang.String _key)
saveNewValueByKey
public void saveNewValueByKey(java.lang.String _key,
java.lang.String _value)
saveActualConfig
public void saveActualConfig()
initFromxml
public boolean initFromxml(java.io.File _xmlfile)
printConfig
public void printConfig()
- only for test print out config
hasConfigChanged
public boolean hasConfigChanged()
saveConfigToFile
public void saveConfigToFile(java.lang.String _path)
startGui
public void startGui()